public class Remotecontrol {
	public static void main(String arg[]){
	SimpleRemoteControl remote= new SimpleRemoteControl();
	Light light = new Light();
	Lightoncommand lighton = new Lightoncommand(light);

	remote.setCommand(lighton);
	remote.buttonWasPressed();
	}
}
